package com.infoblazer.grailsmaps

class State {
  static mapping = {
    table 'state_locale'
    version false
    id column: 'id', generator: 'increment'
    stateAbbrev column: 'stateabbrev'
    stateName column: 'statename'
    cities column: 'statelocale' 
  }
  static constraints = {
  }

  static hasMany = [cities: City]

  int id
  String stateAbbrev
  String stateName

}
